#include <iostream>
#include <thread>
#include <memory>
using namespace std;

class MyThread
{
private:
    /* data */
    shared_ptr<int> p;
public:
    MyThread(/* args */);
    ~MyThread();
};

MyThread::MyThread(/* args */)
{
}

MyThread::~MyThread()
{
}


//创建一个线程对象后，没有提供线程函数，该对象实际没有对应任何线程
int main()
{
    std::thread t1;
    t1.join();
    cout<<t1.get_id()<<endl;
}

